package org.example;

import org.example.config.RpcConfig;
import org.example.util.ConfigUtils;

/**
 * @Title: ConsumerConfig
 * @Author: kunliangzhao
 * @Package org.example
 * @Date: 2025/6/9 10:37
 * @Description: 测试获取配置
 */
public class ConsumerConfig {

    public static void main(String[] args) {
        RpcConfig rpcConfig = ConfigUtils.loadConfig(RpcConfig.class, "rpc");
        System.out.println(rpcConfig);
    }
}
